getNetworkInfo

abstract fun getNetworkInfo(): NetworkInfo

Retrieves the current network information.

Return

the network information as a NetworkInfo object